package com.service;

import com.pojo.Follows;
import com.pojo.Result;
import java.util.List;

public interface FollowsService {
    Result<Void> followUser(Integer followerId, Integer followedId);
    Result<Void> unfollowUser(Integer followerId, Integer followedId);
    Result<Void> unfollowAllByFollower(Integer followerId);
    Result<Void> unfollowAllByFollowed(Integer followedId);
    Result<Boolean> isFollowing(Integer followerId, Integer followedId);
    Result<Integer> getFollowingCount(Integer followerId);
    Result<Integer> getFollowersCount(Integer followedId);
    Result<List<Follows>> getFollowingList(Integer followerId);
    Result<List<Follows>> getFollowersList(Integer followedId);
}